<template>
	<div class="demo-input-suffix edit-demo-input-suffix">
		<el-input
						placeholder="请输入票据号后6位" v-model="billNum6"
						>
			<i slot="suffix" class="el-input__icon el-icon-search" @click="searchList()"></i>
		</el-input>
	</div>
</template>

<script lang="ts">
	import { Vue, Component } from 'vue-property-decorator'

	@Component{}
	export default class SearchCon extends Vue {
		billNum6: string|Number = ''

		searchList () {
			this.$emit('getBillNum',this.billNum6)
			// console.log(this.billNum6)
		}
  }

</script>

<style lang="less" scoped>

</style>
<style lang="less">
	.edit-el-search input{
		width: 20%;
	}
	.edit-demo-input-suffix {
		width: 20%;
	}
	/*.edit-demo-input-suffix {*/
		/*width: 20%;*/
	/*}*/
</style>